﻿<%@ Control Language="vb" AutoEventWireup="false" Explicit ="true" codefile="inc_ResultByDate.ascx.vb" Inherits="NVPortal.Modules.NVNews.Search.inc_ResultByDate" %>
<%@ Register TagName="Paging" TagPrefix="Dotnetnuke" Src="~/Controls/ctlMiniPaging.ascx" %>
<table width="100%">
	<tr>
		<td class="moduletable_title_l" style="border-bottom:1 #d2d2d2 solid;" valign="top"><%= CategoryName %></td>
	</tr>
	<tr >
		<td>
			<asp:DataGrid id="drgNews" runat="server" AllowPaging="true" PageSize="10" CellPadding="3" AutoGenerateColumns="False" ShowHeader="False"
				GridLines="None" Width="100%" >
				<Columns>
					<asp:TemplateColumn HeaderText="C&#225;c tin kh&#225;c">
						<ItemTemplate>
							
							
							<table cellpadding="0" cellspacing="0" width="100%">
                    <tr><td><asp:Image id="imgCat" align="left" BorderColor="#d2d2d2" BorderWidth="1" width="120" ImageUrl ='<%# PortalSettings.HomeDirectory & "news/" & DataBinder.Eval(Container, "DataItem.imagepath") %>' runat="server"></asp:Image>
							<asp:HyperLink CssClass="link_news_hot1" id="hplCatTitle" runat="server" text='<%# DataBinder.Eval(Container.DataItem,"title")%>' NavigateUrl='<%# FormatURL("itemid",DataBinder.Eval(Container.DataItem,"newid"),"catid",DataBinder.Eval(Container.DataItem,"CategoryId")) %>'/>
							<br />
							<asp:Label id="lbDatetime" runat="server" text='<%# DataBinder.Eval(Container.DataItem,"createdate")%>' /><BR>
							<asp:Label id="lbCatSummary" runat="server" text='<%# DataBinder.Eval(Container.DataItem,"summary")%>' /></td>
                        
                    </tr>
                    <tr><td height="5"></td></tr>
                    <tr><td background="images/line_1.jpg"><img src="images/line_1.jpg" height="1" width="1"></td></tr> 
                    <tr><td height="5"></td></tr>
                </table>
                
						</ItemTemplate>
					</asp:TemplateColumn>
				</Columns>
                <PagerStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                    Font-Underline="False" HorizontalAlign="Right" Visible="false" NextPageText="" PrevPageText=" >" />
			</asp:DataGrid>
	    </td>
	</tr>
</table>
<table class="tbPaging" width="100%" runat="server" id="tbPaging">
    <tr>
        <td style="text-align:right">
            <Dotnetnuke:Paging ID="ctlPaging" runat="server" />
        </td>
    </tr>
</table>